var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.spawnMobLimit(9300871, 1, 171, 182, 100);
            cm.spawnMobLimit(9300871, 1, 171, 182, 100);
            cm.sendNormalTalk("这里的锁还是完好的。这说明幻影还没来过吗？或者已经走了吗？必须进去之后才能知道。", 17, 0, false, true)
        } else {
            if (status === a++) {
                cm.sendNormalTalk("这好像是非常贵的锁……明摆着就在告诉别人里面有好东西。他应该不会光破坏掉一把锁，然后就回去。", 17, 0, true, false);
                cm.dispose()
            }
        }
    }
};